package edu.buaa.act.travel.m.tpdl;

import org.json.JSONException;
import org.json.JSONObject;

public class EndActivity extends Activity {

	private static final long serialVersionUID = 1L;

	public EndActivity(String id) {
		this.id = id;
	}

	@Override
	public String toString() {
		if(parent == null){
			return "整个行程结束";
		}else{
			return "城市XX行程结束";
		}
	}

	@Override
	protected JSONObject toJSONObject() {
		return null;
	}

	@Override
	public void fromJSON(JSONObject j) throws JSONException {
		
	}

	@Override
	public String toJSONString() {
		return null;
	}

}
